// import React, { FC } from "react";
// import style from "./index.module.scss";
// import classNames from "classnames/bind";
// const BCN = classNames.bind(style);

// export default NotFund;

import React, { FC } from "react";
import { Button, Result } from "antd";
import { useNavigate } from "react-router-dom";

const NotFund: FC = () => {
  const nav = useNavigate();
  return (
    <Result
      status="404"
      title="404"
      subTitle="对不起，页面不存在呢."
      extra={
        <Button
          type="primary"
          onClick={() => {
            nav("/manage/list");
          }}
        >
          返回首页
        </Button>
      }
    ></Result>
  );
};

export default NotFund;
